﻿using System;
using System.Runtime.Serialization;

namespace UFSoft.UBF.Cust.ClassView.MVC.WebSocket
{
    /// <summary>
    ///     WebSocket异常
    /// </summary>
    [Serializable]
    public class WebSocketException : Exception
    {
        public WebSocketException()
        {
        }

        public WebSocketException(string msg) : base(msg)
        {
        }

        public WebSocketException(string msg, Exception inner) : base(msg, inner)
        {
        }

        protected WebSocketException(int exceptionCode, SerializationInfo info, StreamingContext context) : base(info,
            context)
        {
        }
    }
}